package com.hxw.schema.observer;

import com.sun.org.apache.xerces.internal.xs.datatypes.ObjectList;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Think on 2018/5/5.
 * 通知者
 */
public interface Subject {

    //增加
    public void attach(Observer observer);

    //移除
    public void detach(Observer observer);

    //提醒
    public void notice();

}
